package MethodDOME1;

public class DOME1 {
    public static void main(String[] args) {
        int rs = sum(30,20);
        System.out.println("合适"+rs);
        int rs2 = sum(30,50);
        System.out.println("合适"+rs2);
    }
    public static int sum(int a,int b){
        int c = a + b;
        return c;
    }

}
